#ifndef AMPLIFIER_H
#define AMPLIFIER_H

#include <QWidget>
#include <QSharedPointer>

class Amplifier : public QWidget
{
    Q_OBJECT
public:
    explicit Amplifier(QWidget *parent = nullptr);

    void setSizeInfo(QString str);
    void setLocation(qreal x, qreal y);
    void setOriginPixmap(QPixmap originPainting);
protected:
    virtual void paintEvent(QPaintEvent *);

private:

    QString m_sizeinfo;

    QSize m_screenSize;

    QPoint m_cursorPoint;
    /// 全屏
    QPixmap m_originPixmap;

    int m_imageheight;

signals:

public slots:
};

#endif // AMPLIFIER_H
